package com.gdface.admin.gdface_attend.listView;

import com.gdface.admin.gdface_attend.R;

import net.gdface.face.Entity.Att_log;

import java.util.List;

public class Adapter_Log extends HBaseAdapter<Att_log> {

    public Adapter_Log(List<Att_log> data) {
        super(data,R.layout.list_item_log);
    }

    @Override
    public void setData(ViewHolder holder, Att_log t) {
        holder.setText(R.id.log_item_id, t.getId() + "")
                .setText(R.id.log_item_company, t.getCompany())
                .setText(R.id.log_item_userID, t.getUserNo())
                .setText(R.id.log_item_att, t.getAttend_time())
                .setText(R.id.log_item_uptime, t.getUpdata_time());

    }

}